﻿<Window x:Class="SsTool.Common.SelectDictionaryTypeWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SelectDictionaryTypeWindow" Height="300" Width="300"
        WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <ListBox Grid.Row="0" Name="_ctlListType">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Path=Caption}"/>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Content="确定" Name="_ctlBtnSubmit" Click="_ctlBtnSubmit_Click" />
            <Button Content="取消" Name="_ctlBtnCancel" Click="_ctlBtnCancel_Click" />
        </StackPanel>
    </Grid>
</Window>
